package com.woniu.hospital.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 设备库存表对象 equipemnt
 * 
 * @author wolf-six
 * @date 2023-02-15
 */
public class Equipemnt extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long equipmentId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String equipmentName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String equipmentNum;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal equipmentPrice;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long equipmentTypeid;

    public void setEquipmentId(Long equipmentId) 
    {
        this.equipmentId = equipmentId;
    }

    public Long getEquipmentId() 
    {
        return equipmentId;
    }
    public void setEquipmentName(String equipmentName) 
    {
        this.equipmentName = equipmentName;
    }

    public String getEquipmentName() 
    {
        return equipmentName;
    }
    public void setEquipmentNum(String equipmentNum)
    {
        this.equipmentNum = equipmentNum;
    }

    public String getEquipmentNum()
    {
        return equipmentNum;
    }
    public void setEquipmentPrice(BigDecimal equipmentPrice) 
    {
        this.equipmentPrice = equipmentPrice;
    }

    public BigDecimal getEquipmentPrice() 
    {
        return equipmentPrice;
    }
    public void setEquipmentTypeid(Long equipmentTypeid) 
    {
        this.equipmentTypeid = equipmentTypeid;
    }

    public Long getEquipmentTypeid() 
    {
        return equipmentTypeid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("equipmentId", getEquipmentId())
            .append("equipmentName", getEquipmentName())
            .append("equipmentNum", getEquipmentNum())
            .append("equipmentPrice", getEquipmentPrice())
            .append("equipmentTypeid", getEquipmentTypeid())
            .toString();
    }
}
